Skip to main content

JsWriter<TSerializer>

Assembly: ServiceStack.Text.dll
View Source
Declaration
public class JsWriter<TSerializer>
where TSerializer : ITypeSerializer

Fields

SpecialTypes

View Source
Declaration
public readonly Dictionary<Type, WriteObjectDelegate> SpecialTypes

Methods

GetValueTypeToStringMethod(Type)

View Source
Declaration
public WriteObjectDelegate GetValueTypeToStringMethod(Type type)
Returns

ServiceStack.Text.Common.WriteObjectDelegate

Parameters
TypeName
System.Typetype

GetWriteFn<T>()

View Source
Declaration
public WriteObjectDelegate GetWriteFn<T>()
Returns

ServiceStack.Text.Common.WriteObjectDelegate

Type Parameters
  • T

WriteValue(TextWriter, Object)

View Source
Declaration
public void WriteValue(TextWriter writer, object value)
Parameters
TypeName
System.IO.TextWriterwriter
System.Objectvalue

GetSpecialWriteFn(Type)

View Source
Declaration
public WriteObjectDelegate GetSpecialWriteFn(Type type)
Returns

ServiceStack.Text.Common.WriteObjectDelegate

Parameters
TypeName
System.Typetype

WriteType(TextWriter, Object)

View Source
Declaration
public void WriteType(TextWriter writer, object value)
Parameters
TypeName
System.IO.TextWriterwriter
System.Objectvalue

InitAot<T>()

View Source
Declaration
public static void InitAot<T>()
Type Parameters
  • T